package com.future.mapper;

import com.future.entity.User;

/**
 * <P>
 *
 * </p>
 *
 * @author yinhao
 * @version 1.0
 * @since 2024/9/11 15:39
 */
public interface UserMapper {

    // 方式1,联表查询
    User queryUserById(Integer id);

    // 方式2,子查询
    User queryUserById2(Integer id);

    User queryUserSelfById(Integer id);
}
